pi_str = ''
with open('pi_million_digits.txt', 'r') as f:
    splitlines = f.read().splitlines()
    for line in splitlines:
        pi_str += line.strip()

    birth = input("输入你的生日：mmdd\n")
    if birth in pi_str:
        print("你的生日出现了")
    else:
        print("未出现")